<?php include_once './application/views/sys_admin/common/header.php';  ?>
<!-- admin_main -->
<div class="admin_main">
	<!-- Admin_top end -->
	<?php include_once './application/views/sys_admin/common/borrow_left.php';  ?>
	<?php 
	$statusArr = array(
		0=>'所有',
		1=>'未审核',
		2=>'审核通过',
		3=>'已完成',
		4=>'已取消',
	);
	?>
	<!-- Admin_Left End -->
	<div class="admin_right">
		<div class="admin_right_title">
			<strong>贷款管理</strong> &gt;&gt;  / 债权转让 / 待复审列表
		</div>
		<div class="admin_right_con">
			<table border="0" cellspacing="1" cellpadding="0">
			  <tr style="color:#0068b7;">
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>编号</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>用户名</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>转让标题</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>投资本金</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>折让率</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>折后金额</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>已转让</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>状态</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>审核时间</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>操作</strong></td>
			  </tr>
			  <?php foreach($list as $key=>$val){?>
			  <tr>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $val['id'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $val['username'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $val['title'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo number_format($val['account'],2);?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $val['discount_apr'];?>%</td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo number_format($val['discount_account'],2);?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo number_format($val['discount_yes'],2);?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF" style="color:red"><?php if ($val['fstatus']==2 && $val['discount_yes']>=$val['discount_account']){echo '等待复审';}?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo date('Y-m-d H:i',$val['verify_time']);?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF">
					<?php if ($val['fstatus']==2 && $val['discount_yes']>=$val['discount_account']){?><a href="/sys_admin/creditor/reverify/<?php echo $val['id'];?>.html">复审</a><?php }else{?>--<?php }?>
				</td>
			  </tr>
			  <?php }?>
			</table>
			</div>
	</div>
<!-- Admin_Right End -->
</div>
<!-- admin_main end -->
</body>
</html>
